//
//  DSYUrlModel.m
//  BLDMusic
//
//  Created by dllo on 16/3/17.
//  Copyright © 2016年 白云杰. All rights reserved.
//

#import "DSYUrlModel.h"

@implementation DSYUrlModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}


- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}



- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.typeDescription forKey:@"typeDescription"];
    [aCoder encodeObject:self.duration forKey:@"duration"];
    [aCoder encodeObject:self.bitRate forKey:@"bitRate"];
    [aCoder encodeObject:self.suffix forKey:@"suffix"];
    [aCoder encodeObject:self.url forKey:@"url"];
    [aCoder encodeObject:self.size forKey:@"size"];
}


- (instancetype) initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
        self.typeDescription = [aDecoder decodeObjectForKey:@"typeDescription"];
        self.duration = [aDecoder decodeObjectForKey:@"duration"];
        self.bitRate = [aDecoder decodeObjectForKey:@"bitRate"];
        self.suffix = [aDecoder decodeObjectForKey:@"suffix"];
        self.url = [aDecoder decodeObjectForKey:@"url"];
        self.size = [aDecoder decodeObjectForKey:@"size"];
    }
    return self;
}


@end
